﻿using System;
using IQToolkit;
using IQToolkit.Data;
using Infrastucture.Factories;
using TimeSplicerModule.DataModels;
using TimeSplicerModule.DomainModels;

namespace TimeSplicerModule.Factories
{
    public interface IApplicationPermissionFactory : Infrastucture.Factories.IFactory<ApplicationPermissionDataModel, ApplicationPermissionModel>
    { }

    public class ApplicationPermissionFactory : Factory<ApplicationPermissionDataModel, ApplicationPermissionModel>, IApplicationPermissionFactory
    {
        public ApplicationPermissionFactory(DbEntityProvider provider, IEntityTable<ApplicationPermissionDataModel> db)
            : base(provider, db)
        {

        }
    }
}
